<!Doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title></title>
<link href="bootstrap.min.def.css" rel="stylesheet">
 <script src="jquery-3.3.1.min.js"></script>
 <script src="bootstrap.min.js"></script>
 <script src="jquery.validate.min.js"></script>
 <script src="messages_zh.js"></script>
 <script>


    
	
	  
function abc(){
$.ajax({
 url: "http://120.27.32.237:83/common.ashx?method=getlist",
 dataType:'json',
 type:'POST',

 success: function(data){
  for (var x in data) {
            if (typeof data[x] == 'object' && data[x] != null) {
		        for(var i=0;i<data.rows.length;i++){
				$("#one").append("</br>"+data.rows[i].Name+" " + data.rows[i].Age+" "+data.rows[i].Time) 
				}
			 }
			  else{
			  $("#one").append("</br>"+"keys = " + x + " values = " + data[x]+"</br>"); 
			
			}
			}
    
 
 
 
			
      },
error: function(error){
		alert("ERROR!");
		}
   });
   
   }
   

/*
{
    "total": 2,
    "rows": [
        {
            "Name": "Jason Li",
            "Age": "25",
            "Time": "2018/8/1 17:27:15"
        },
        {
            "Name": "",
            "Age": "",
            "Time": ""
        },
        {
            "Name": "张三",
            "Age": "23",
            "Time": "2018/8/1 17:27:15"
        },
        {
            "Name": "李四",
            "Age": "25",
            "Time": "2018/8/1 17:27:15"
        }
    ]
}
*/
 </script>

</head>
<body>
<button type="button" class="but" onclick="abc()">解析2</button>
<div id="one">结果</div>
</body>
</html>